﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;

namespace RN.ERP.Web.Enterprise
{
    public partial class EnterpriseAudit : System.Web.UI.Page
    {
        public string PageTitle
        {
            get
            {
                return ConfigurationManager.AppSettings["sysTitle"];
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                GetParams();
            }
        }
        /// <summary>
        /// 获取传递参数
        /// </summary>
        private void GetParams()
        {
            Guid corpGuid = Guid.Empty;
            if (!string.IsNullOrEmpty(Request.QueryString["corpGuid"]))
            {
                if (Guid.TryParse(Request.QueryString["corpGuid"], out corpGuid))
                {
                    hdCorpGuid.Value = corpGuid.ToString();
                }
            }

            if (!string.IsNullOrEmpty(Request.QueryString["areaCode"]))
            {
                hdAreaCode.Value = Request.QueryString["areaCode"];
            }
        }

    }
}